package com.heisen.system.controller;

import com.heisen.redis.annotation.RedisMessageListener;
import com.heisen.redis.message.RedisListenerMessage;

/**
 * @author sen
 * @description
 * @date 2024/1/18 11:01
 */
@RedisMessageListener(channel = "AA")
public class A implements RedisListenerMessage<String> {

    @Override
    public void onMessage(String message) {
        System.out.println("收到监听  message:"+message);
    }
}
